<?php
/**
 * @link https://ym2.cleverstone.top
 * @copyright Copyright (c) 2020 Yii Manager Software LLC
 */

namespace frontend\v1\controllers;

use frontend\v1\RestController;

/**
 * 默认
 * @author cleverstone
 * @since ym2.0
 */
class IndexController extends RestController
{

    public $guestActions = [
        'index',
    ];

    public function actionIndex()
    {
        return <<<HTML
<style>*{font-size:15px;color:darkgrey;}code{color:dodgerblue;font-weight:700;font-size:25px;}</style>
Hello <code>api</code>, <br/>
Tomorrow will be better.
HTML;
    }
}